package com.xx.expriment2;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author GragonCat
 * date 2020-04-12
 */

@SuppressWarnings("unused")
@ConfigurationProperties(prefix = "xx.auto")
public class CustomProperties {
    private boolean enable;

    public boolean isEnable(){
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }
}
